package com.feiyun.erp.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author xray
 * @since 2021-05-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Functions implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String name;

    private String description;

    private String url;

    private String pid;

    private String icon;

    private Integer sort;

    //所有的下级权限
    @TableField(exist = false) //表中不存在该字段
    private List<Functions> subFunctions;
}
